
import React from "react";
import { Menu } from 'antd'
import {
  Link
} from "react-router-dom";
import 'moment/locale/zh-cn';
import staffCss from './staff.module.css'



class Home extends React.Component {
  render () {
    return (
      <div className="list">
        <Menu
          onClick={this.handleClick}
          // style={{ width: 500 }}

          defaultOpenKeys={['sub1']}
          mode="inline"
        >
          <Menu.Item key="1" style={{ textAlign: "center", fontSize: 15, height: 150 }} >
            <Link to="/apply" >
            <svg t="1626926223567" className="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="11538" width="65" height="65"><path d="M832 608c17.6 0 32 14.4 32 32v320a32 32 0 0 1-64 0v-320c0-17.6 14.4-32 32-32zM256 224h384a32 32 0 0 1 0 64H256a32 32 0 0 1 0-64zM256 416h384a32 32 0 0 1 0 64H256a32 32 0 0 1 0-64zM256 608h224a32 32 0 0 1 0 64H256a32 32 0 0 1 0-64z" p-id="11539"></path><path d="M672 768h320a32 32 0 0 1 0 64h-320a32 32 0 0 1 0-64z" p-id="11540"></path><path d="M736 32h-576a128 128 0 0 0-128 128v704a128 128 0 0 0 128 128H576v-64H160a64 64 0 0 1-64-64v-704a64 64 0 0 1 64-64h576a64 64 0 0 1 64 64v384h64v-384a128 128 0 0 0-128-128z" p-id="11541"></path></svg>
              <div className={staffCss.homelistItem} >新增申请</div>
            </Link>
          </Menu.Item>

          <Menu.Item key="2" style={{ textAlign: "center", fontSize: 15,height: 150 }} >
          
            <Link to="/history">
            <svg t="1626925918036" className="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4242" width="80" height="80"><path d="M179.5 890.1C116.4 890.1 65 838.7 65 775.6V371.4c0-63.1 51.4-114.5 114.5-114.5h561.6c63.1 0 114.5 51.4 114.5 114.5v404.2c0 63.1-51.4 114.5-114.5 114.5H179.5z m0-584.6c-36.4 0-65.9 29.6-65.9 65.9v404.2c0 36.4 29.6 65.9 65.9 65.9h561.6c36.4 0 66-29.6 66-65.9V371.4c0-36.4-29.6-65.9-66-65.9H179.5z" fill="#6B400D" p-id="4243"></path><path d="M521.3 511H195.2c-1.6 0-2.8-1.3-2.8-2.8v-44.1c0-1.6 1.3-2.8 2.8-2.8h326.1c1.6 0 2.8 1.3 2.8 2.8v44.1c0 1.6-1.2 2.8-2.8 2.8zM521.3 685.7H195.2c-1.6 0-2.8-1.3-2.8-2.8v-44.1c0-1.6 1.3-2.8 2.8-2.8h326.1c1.6 0 2.8 1.3 2.8 2.8v44.1c0 1.5-1.2 2.8-2.8 2.8zM625 547.1c-4.9 0-9.4-1.9-12.9-5.4l-48.6-48.8c-7.1-7.1-7.1-18.7 0-25.8 3.4-3.4 8-5.3 12.9-5.3s9.4 1.9 12.9 5.3l35.8 35.9 72.2-72.5c3.4-3.5 8-5.3 12.9-5.3s9.4 1.9 12.9 5.3c7.1 7.1 7.1 18.7 0 25.8L638 541.7c-3.6 3.5-8.2 5.4-13 5.4zM625 721.8c-4.9 0-9.4-1.9-12.9-5.4l-48.6-48.8c-7.1-7.1-7.1-18.7 0-25.8 3.4-3.4 8-5.3 12.9-5.3s9.4 1.9 12.9 5.3l35.8 35.9 72.2-72.5c3.4-3.5 8-5.3 12.9-5.3s9.4 1.9 12.9 5.3c7.1 7.1 7.1 18.7 0 25.8L638 716.4c-3.6 3.5-8.2 5.4-13 5.4z" fill="#6B400D" p-id="4244"></path><path d="M853.5 371.4c0-62-50.4-112.4-112.4-112.4H179.5c-2.7 0-5.4 0.2-8.1 0.4l-1.1 0.1-0.3-1.1v-4.9c0-63.1 51.4-114.5 114.5-114.5h561.6c63.1 0 114.5 51.4 114.5 114.5v404.2c0 59.5-46.5 109.6-105.9 114.1l-1.1 0.1V371.4z" fill="#6B400D" p-id="4245"></path><path d="M846.1 186.5H284.5c-36.9 0-67 30-67 67v4.5H741c62.6 0 113.5 50.9 113.5 113.5v352.3c32.9-4.2 58.5-32.1 58.5-66.1V253.5c0-37-30-67-66.9-67z" fill="#FFD524" p-id="4246"></path></svg>
              <div className={staffCss.homelistItem} >申请历史</div>
              </Link>
          </Menu.Item>
          <Menu.Item key="3" style={{ textAlign: "center", fontSize: 15 ,height: 150}} >
            <Link to="/feedback">
            <svg t="1626926045644" className="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5077" width="72" height="72"><path d="M810.1 484.9c-15.9 0-28.9 12.9-28.9 28.9v301.5c0 74.3-60.5 134.8-134.8 134.8H216.8C142.4 950 82 889.6 82 815.2V385.6c0-74.3 60.5-134.8 134.8-134.8h290.7c15.9 0 28.9-12.9 28.9-28.9S523.5 193 507.5 193H216.8c-106.2 0-192.6 86.4-192.6 192.6v429.6c0 106.2 86.4 192.6 192.6 192.6h429.6c106.2 0 192.6-86.4 192.6-192.6V513.8c-0.1-16-13-28.9-28.9-28.9z" fill="#444444" p-id="5078"></path><path d="M533.5 335.1c-9.7 9.7-27.6 33.6-70.5 128.1-11.9 26.3-22.8 51.5-29.8 68-3.8 9.1-7 16.5-9.1 21.7-5 11.9-8 19.1-3.4 30.2 6.1 14.7 22.9 21.7 37.6 15.7 0.5-0.2 47.7-19.6 97.9-42.4 94.6-42.9 118.4-60.8 128.1-70.5l195.2-195.2-150.8-150.8-195.2 195.2z m110 110.1c-12.4 12.4-73.9 42.7-141.7 72.5 29.8-67.8 60.1-129.2 72.5-141.7l154.4-154.4 69.2 69.2-154.4 154.4zM971.7 47.8c-41.6-41.6-109.3-41.6-150.9 0l-49.9 50 150.9 150.9 50-49.9c41.5-41.7 41.5-109.4-0.1-151z m-40.9 110l-9.1 9.1-69.2-69.2 9.1-9.1c19.1-19.1 50.1-19.1 69.2 0s19.1 50.2 0 69.2z" fill="#444444" p-id="5079"></path></svg>
            <div className={staffCss.homelistItem} >填写反馈</div>
              </Link>
          </Menu.Item>
        </Menu>
      </div>

    );
  }
}

export default Home